PowerTCP Emulation for .NET
Option Constructor(OptionCode,Byte[])




The option code.
The option suboption.
Initializes a new instance of Option.
Syntax
Public Function New( _
   ByVal code As OptionCode, _
   ByVal subOption() As Byte _
)
Dim code As OptionCode
Dim subOption() As Byte
 
Dim instance As New Option(code, subOption)
public Option( 
   OptionCode code,
   byte[] subOption
)
public: Option( 
   OptionCode code,
   byte[]* subOption
)
public:
Option( 
   OptionCode code,
   array<byte>^ subOption
)

Parameters

code
The option code.
subOption
The option suboption.
Remarks

This constructor creates a new instance of Option, with Code set to the value of code, SubOption set to the value of subOption and State set to OptionState.Off.

See Also

Reference

Option Class
Option Members
Overload List


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic